package com.icode.jsf.model;

import java.math.BigDecimal;

/**
 * User: alexz
 * Date: 14-11-4
 * Time: 下午2:56
 */
public class Currency {
    private String symbol;
    private BigDecimal value;

    public Currency(String symbol, BigDecimal value) {
        this.symbol = symbol;
        this.value = value;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return symbol + value;
    }
}
